where f is the inclusion of the subgroup generated by 2, so f(1)=2, and g is the quotient
onto that subgroup, meaning g(1)=1. This is not a split short exact sequence(obviously). Consider MN⨁(Z/2Z⊕Z/4Z).
Thus the exact seq
0Z/2ZhZ/4Z⊕MiZ/2Z⊕M0
with h(a)=(f(a),0) and t(a,m)=(g(a),m) is exact. Z/4Z⊕M is isomorphic to (Z/2Z)⊕(Z/2Z⊕M). However, this is not a split exact seq since
0Z/2ZhZ/4Z⊕MiZ/2Z⊕M0
will give a exact seq $$0\xrightarrow{} \mathbb{Z}/2\mathbb{Z}\xrightarrow{f} \mathbb{Z}/4\mathbb{Z} \xrightarrow{g} \mathbb{Z}/2\mathbb{Z}\xrightarrow{}0$$ which is not split exact.